#include "system.h"

void Init(void)
{
OPTION= 0b10000111;
VRCON = PIE1 = PCON = WPU = IOCB = 0;
CMCON = 0b00000111;
INTCON= 0;
T0IE   =1;
GIE    =1;
TRISIO= 0b11001111;
GPIO  = 0;

VCFG = 0;
ANS0 = ANS1 = ANS2 = 1;
ADFM = 1;
ADON = 1;
}
